/*
* @Author: xfy
* @Date:   2017-09-07 12:39:27
* @Last Modified by:   xfy
* @Last Modified time: 2017-09-15 14:45:13
*/
'use strict';
var _supper = require('util/supper.js');
var _adminProduct = {
    //获取声纹列表
    getAttendance : function(listParam, resolve, reject){
        _supper.request({
            url     : _supper.getServerUrl('/attendance/getAttendance.do'),
            data    : listParam,
            success : resolve,
            error   : reject
        });
    },
    //更新声纹状态
    updateAttendance : function(listParam, resolve, reject){
        _supper.request({
            url     : _supper.getServerUrl('/attendance/updateAttendance.do'),
            data    : listParam,
            method  : 'POST',
            success : resolve,
            error   : reject
        });
    }
}
module.exports = _adminProduct;